home *** CD-ROM | disk | FTP | other *** search
/ Champak 45 / Vol 45.iso / games / escape.swf / scripts / frame_1 / PlaceObject2_57_61 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-23  |  533 b   |  30 lines

  1. onClipEvent(enterFrame){
  2.    if(Key.isDown(40) && _root.chara02.nop1 == 0)
  3.    {
  4.       if(nop3 <= 15)
  5.       {
  6.          nop3 += 1;
  7.          this._height += 0.5;
  8.          this._width += 2;
  9.          this._y += 5;
  10.       }
  11.    }
  12.    else if(nop3 > 0)
  13.    {
  14.       nop3 -= 1;
  15.       this._height -= 0.5;
  16.       this._width -= 2;
  17.       this._y -= 5;
  18.    }
  19.    _Y = _root.chara02._y;
  20.    if(_root.chara02.nop1 != 0)
  21.    {
  22.       _width = 30;
  23.       _Y = _global.defY;
  24.    }
  25.    else if(nop3 == 0)
  26.    {
  27.       _width = 35;
  28.    }
  29. }
  30.